import 'package:flutter/material.dart';

/// 本地Pluggable接口定义，用于替代ume_core中的Pluggable
abstract class Pluggable {
  /// 构建widget
  Widget buildWidget(BuildContext? context);
  
  /// 显示名称
  String get displayName;
  
  /// 图标
  ImageProvider<Object> get iconImageProvider;
  
  /// 名称
  String get name;
  
  /// 触发回调
  void onTrigger();
}